<?php

namespace App\Services\Api;

/**
 * 添加  修改公司设备信息
 */
class DEVICE30002
{
    public $apiCode = 'DEVICE#30002';

    public function getInitPostData($postData)
    {
        return [
            'devId' => $postData['devId'],
            'custId' => $postData['custId'],
            'name' => $postData['name'],
            'type' => $postData['type'],
            'brand' => $postData['brand'],
            'vbrand' => $postData['vbrand'],
            'pic' => $postData['pic'],
            'intro' => $postData['intro'],
            'param' => $postData['param'],
        ];
    }

    public function getInitApiCode()
    {
        return $this->apiCode;
    }

}
